<br/>
<div class="bg_greenyellow round_10 quarter shadow_in_0">
    <center>
        <a href="
            <?php 
            echo $this->url(
                    array('controller' => 'auctions', 
                        'action' => 'details',
                        'id' => $this->auction ), 
                        null, 
                        true);
            ?>" >
            Powrót do aukcji
        </a>
    </center>  
</div> 

<br /><br />
<div id="view-content">
	    <?  
            echo $this->partial('partials/_sectionTitle.phtml', 
                    array('title' => 'Oferty sprzedaży towaru '.$this->commodity)); 
           foreach ($this->out as $offer) {
            echo '<div>'.$this->partial('partials/_simpleOffer.phtml', 
                array( 'offer' => $offer)).'<br/>'; ?>
            
        <a href="
            <?php 
            echo $this->url(
                    array('controller' => 'offers', 
                        'action' => 'show',
                        'id' => $offer->getHeadOffer_id()), 
                        null, 
                        true);
            ?>" >
            Zobacz pełną ofertę
        </a>
    <br/>
    <br/>
            <?
            echo '</div>';
            
    } ?>
</div>

<br /><br />
<div id="view-content">
            <?  
            echo $this->partial('partials/_sectionTitle.phtml', 
                    array('title' => 'Oferty kupna towaru '.$this->commodity)); 
                       foreach ($this->in as $offer) {
            echo '<div>'.$this->partial('partials/_simpleOffer.phtml', 
                array( 'offer' => $offer)).'<br/>'; ?>
            
        <a href="
            <?php 
            echo $this->url(
                    array('controller' => 'offers', 
                        'action' => 'show',
                        'id' => $offer->getHeadOffer_id()), 
                        null, 
                        true);
            ?>" >
            Zobacz pełną ofertę
        </a>
    <br/>
    <br/>
            <?
            echo '</div>';
            
    } ?>
</div>